<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib tagdir="/WEB-INF/tags/user" prefix="user"%>
<html>
<head>
<jsp:include page="/common/meta.jsp"></jsp:include>
<title>Index Page</title>
</head>
<body>
	<div id="titleMsg">
		<a href="#1" id="login_btn" rel="#home-login-form">[登录]</a>
		<a href="#1" id="reg_btn" rel="#home-register-form">[注册]</a>
	</div>
	<user:register></user:register>
	<user:login></user:login>
</body>
<script type="text/javascript">
	$(function(){
	if('${empty user}'=='false'){
			window.location='${ctx}/app/main/home';
		}
		$('#login_btn').trigger('click');
		
	})
</script>
</html>